package pme;

public class Entry {
	private String description;
	private Value value;

	/**
	 * creates a new Entry
	 * 
	 * @param newdesc
	 *            the description of the entry
	 * @param newval
	 *            the value of the entry
	 */
	public Entry(String newdesc, Value newval) {
		description = newdesc;
		value = newval;
	}

	/**
	 * returns the description of an entry
	 * 
	 * @return the description of an entry
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * returns the value of an entry
	 * 
	 * @return the value of an entry
	 */
	public Value getValue() {
		return value;
	}

}
